package com.xiao.user.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


/**
 * @author lishaowei
 */

@Data
@EqualsAndHashCode(callSuper = false)
//@ApiModel(value = "角色对象", description = "角色对象")
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class UserDto implements Serializable {


    private static final long serialVersionUID = -2631715791402112251L;

   // @ApiModelProperty(name = "角色对象ID")
    //@JsonSerialize(using = ToStringSerializer.class)
    private Integer id;

  //  @ApiModelProperty(name = "角色名称")
    private String name;

   // @ApiModelProperty(name = "角色编码")
    private String code;

}
